# main.py
import sys
from PySide6.QtWidgets import QApplication
from app_controller import AppController

if __name__ == "__main__":
    app = QApplication(sys.argv)
    app.setQuitOnLastWindowClosed(False)   # 让 AppController 自己计数
    ctrl = AppController()
    ctrl.open_initial_windows()
    sys.exit(app.exec())